Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortened code #2

Merged
merged 1 commit into from
Jun 25, 2015
Merged

Shortened code #2

merged 1 commit into from
Jun 25, 2015

Conversation

ByteCommander
Copy link
Contributor

Replace for-loop with list comprehension.
Replace if-elif with if ... or ..., as in both cases "return True" is following.

Replace for-loop with list comprehension.
Replace if-elif with if ... or ..., as in both cases "return True" is following.
thomas-daniels added a commit that referenced this pull request Jun 25, 2015
@thomas-daniels thomas-daniels merged commit 316df38 into master Jun 25, 2015
@ByteCommander ByteCommander deleted the ByteCommander-patch-2 branch June 25, 2015 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants